package io.renren.modules.demo.service;

import io.renren.common.service.CrudService;
import io.renren.modules.demo.dto.DhComplainInfoDTO;
import io.renren.modules.demo.entity.DhComplainInfoEntity;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2023-03-25
 */
public interface DhComplainInfoService extends CrudService<DhComplainInfoEntity, DhComplainInfoDTO> {

    /**
     * 用户发起投诉
     */
    void newComplain(DhComplainInfoDTO dto);

    /**
     * 确认处理投诉
     */
    void disposeComplain(Long id);

    /**
     * 获取投诉处理与未处理比例可视化图形数据
     *
     * @return
     */
    List<Integer> setComplainDisposeProportionPieData();
}